package chances.wechat.msggw.context;

public class MessageContext extends BaseContext {

	public final static int RES_EPG_LIVE = 1;
	public final static int RES_EPG_VOD = 2;
	public final static int RES_EPG_PAGE = 3;
	public final static int MSG_TYPE_CTRL = 4;
	public final static int MSG_TYPE_P2P = 2;
	public final static String MSG_TYPE_VOD = "vod";
	
	protected long startTime;
	protected long expire = 86400;
	protected int msgtype = MSG_TYPE_CTRL;
	protected String msgid;
	protected String content;
	protected String epg;
	protected int resource; // ��msgtype!=1��
	protected String receivers;// �ǣ�msgtype!=1��
	protected int restype;

	public long getStartTime() {
		return startTime;
	}

	public long getExpire() {
		return expire;
	}

	public String getContent() {
		return content;
	}

	public String getEpg() {
		return epg;
	}

	public String getReceivers() {
		return receivers;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public void setExpire(long expire) {
		this.expire = expire;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setEpg(String epg) {
		this.epg = epg;
	}

	public void setReceivers(String receivers) {
		this.receivers = receivers;
	}

	public String getMsgid() {
		return msgid;
	}

	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}

	public int getMsgtype() {
		return msgtype;
	}

	public int getResource() {
		return resource;
	}

	public int getRestype() {
		return restype;
	}

	public void setMsgtype(int msgType) {
		this.msgtype = msgType;
	}

	public void setResource(int resource) {
		this.resource = resource;
	}

	public void setRestype(int restype) {
		this.restype = restype;
	}

}
